package com.scm.biz.service._impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.scm.biz.bean.SysRoleResource;
import com.scm.biz.dao.SysRoleResourceDao;
import com.scm.biz.service.SysRoleResourceService;
@Service
public class SysRoleResourceImpl implements SysRoleResourceService{
	@Autowired
	SysRoleResourceDao sysRoleResourceDao;
	@Override
	public int deleteByRoleId(Integer roleId) {
		// TODO Auto-generated method stub
		return sysRoleResourceDao.deleteByRoleId(roleId);
	}
	@Override
	public void insert(SysRoleResource sysRoleResource) {
		sysRoleResourceDao.insert(sysRoleResource);
	}

}
